package com.thesis.utils;

public class ApplicationContexts {
    private static  final ThreadLocal<String> threadLocal = new ThreadLocal<>();

    public static void setThreadLocal(String userId){
        threadLocal.set(userId);
    }

    public static String getThreadLocal(){
        return threadLocal.get();
    }

    public static void removeThreadLocal(){
        threadLocal.remove();
    }
}
